Home:ALL Converter>Using generated C/C++ Code from Simulink in own C++ project

Using generated C/C++ Code from Simulink in own C++ project

Ask Time:2019-11-01T15:08:01         Author:Max

Json Formatter

I'm searching for a good tutorial or explanation for the following procedure. I want to generate C/C++ Code from Simulink (Simulink Coder/Embedded Coder) and interface it with own C/C++ Code, such that I can use my existing algorithms from Simulink. I want to use sensor decoders explicitly in C/C++.

I know that I could use S-functions to integrate my decoders in Simulink, but I want to do the exact opposite because of several reasons.

Is there anyone who can provide me good tutorials/informations about that? Is there a standard C/C++ file structure to interface code-generated Simulink models?

Best regards Max

Author:Max,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/58655419/using-generated-c-c-code-from-simulink-in-own-c-project
yy